package xyz.labmem.base.core.tool

import org.springframework.context.ApplicationContext


/**
 * @Author lty
 * @Date 2022/1/5 14:45
 */
object SpringBeanUtils {
    private var applicationContext: ApplicationContext? = null

    fun setApplicationContext(applicationContext: ApplicationContext) {
        SpringBeanUtils.applicationContext = applicationContext
    }

    fun getApplicationContext(): ApplicationContext? = applicationContext
}